package com.xinchuang.service.image;

import com.alibaba.fastjson.JSONArray;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xinchuang.entity.image.TaskRun;

/**
 * @author zkwczx
 */
public interface TaskRunService extends IService<TaskRun> {

    /**
     * 创建自动配置任务
     * @param targetId
     * @param baseId
     * @param newId
     * @param userId
     * @return
     */
    void createAutoCorrectTask(String targetId, String baseId, String newId, String userId);

    /**
     * 启动任务
     * @param targetId
     * @param baseId
     * @param newId
     */
    void startAuto(String targetId, String baseId, String newId, String userId);

    /**
     * 自动配准
     * @param imgId
     * @param positions
     */
    void createAutoRecognitionto(String imgId, JSONArray positions, String userId);

    /**
     * 创建专题
     * @param userId
     * @param subjectName
     * @param format
     * @param fileId
     */
    void createSubject(String userId, String subjectName, String format, String fileId);

}
